<?php
class STE_Member extends STE_Db
{
	public function checkLogin($email, $password)
	{
		try
		{
			$query = sprintf("CALL sp_admin_check_login('%s', '%s')", $email, md5($password));
			$member = $this->_db->fetchRow($query);
			$this->_db->closeConnection();
			return $member;
		}
		catch (Exception $ex)
		{
			throw $ex;
		}
	}	 
}	
?>